/*
** 2871.c
** 
** Made by (frank)
** Login   <frank@FrankChen>
** 
** Started on  Thu Oct  2 10:27:37 2008 frank
** Last update Sun May 12 01:17:25 2002 Speed Blue
*/

/* #include "2871.h" */
#include <stdio.h>

int main()
{
     float prev, cur;

     scanf("%f", &prev);
     while(scanf("%f", &cur)){
	  if (cur == 999)
	       break;
	  printf("%.2f\n", cur - prev);
	  prev = cur;
     }
     printf("End of Output\n");
     return 0;
}

